TWF-100 Script Grammar
IpType
- USE_JIG_ID_AND_CH_INDEX
MacType
- USE_JIG_ID_AND_CH_INDEX
CustomVariableType
- STRING
- INTEGER
- FLOAT
- MAC
- MAC1
Operator
- NONE
- PLUS
- MINUS
- MULTIPLIED
- DIVIDED
LogicalOperator
- AND
- OR
CameraCommand
- READ
CameraObject
- Enable
- ScanTimeMs
ChannelBoardConfigObject
- UartConfig:UartConfig
- GpioConfig:GpioConfig
- AdcConfig:AdcConfig
- SpiConfig:SpiConfig
- FirmwareConfig:FirmwareConfig
UartConfig
- ConsoleUart:ConsoleUart
- TargetUart1:TargetUart
- TargetUart2:TargetUart
- TargetUart3:TargetUart
- TargetUart4:TargetUart
ConsoleUart
- BaudRate
- FlowControl
TargetUart
- Enable
- Baudrate
- FlowControl
- index
GpioConfig
- InputGpioList:List
- OutputGpioList:List
AdcConfig
- EnableAdcList:List
- SamplingIntervalMs
- ValueCondition
FirmwareConfig
- FirmwareType
- FirmwareName
SpiConfig
- Enable
TestScheduleObject
- TestName:str
- CustomFunctionControl:CustomFunctionControl
- CameraContro:CameraControl
- GpioControl:GpioControl
- UartControl:UartControl
- targetControl:TargetControl
- lockControl:LockControl
- NextTestListNextList
CustomFunctionControl
- createDummySerial:CreateDummySerial
CreateDummySerial
- Enable
- SerialPrefix
CameraControl
- targetQrRead:TargetQrRead
TargetQrRead
- Enable:bool
- TimeoutMs:int
- SerialPrefix:str
- SaveDataToCustomVarialbe:SaveDataToCustomVariable
GpioControl
- TargetGpioRead:TargetGpioRead
- TargetGpioWriteListTargetGpioWrite(#targetgpiowrite)
- TargetGpioWriteToggle:TargetGpioWriteToggle
- DelayMsBeforeGpioControl:int
- DelayMsAfterGpioControl:int
TargetGpioRead
- Enable:bool
- GpioName
- WantedValue
TargetGpioWrite
- Enable
- GpioName
- Value
TargetGpioWriteToggle
- Enable
- GpioName
- ActiveMethod
- KeepingTimeMs
UartControl
- TargetUartName:str
- SerialTxInfo:SerialTxInfo
- SerialTxListInfo:SerialTxListInfo
- SerialRxInfo:SerialRxInfo
- SerialIterateTxRx:SerialIterateTxRxInfo
SerialTxInfo
- Enable:bool
- TxData:bytearray
- TxRepeatCount:int
- TxRepeatIntervalMs:int
- DelayMsBeforeTx:int
- DelayMsAfterTx:int
- TxDataWithCustomVariable:TxDataWithCustomVariable
- TargetGpioWriteToggle:TargetGpioWriteToggle
TxDataWithCustomVarible
- Enable:bool
- TxDataWithVariable:str
- LoadDataFromCustomVariableListstr
SerialTxListInfo
- Enable:bool
- TxDataListbytearray
- DelayMsBeforeTx:int
- DelayMsAfterTx: int
SerialRxInfo
- Enable:bool
- ExpectedRxDataListstr
- TimeoutMs:int
- LogicalOprator:LogicalOperator
- SaveDataToCustomVariable:SaveDataToCustomVariable
SerialTxListInfo
- Enable:bool
- TxDataListbytearray
- DelayMsBeforeTx:int
- DelayMsAfterTx:int
SerialIterateTxRxInfo
- Enable
- SerialTxListInfo:SerialTxListInfo
- SerialRxInfo:SerialRxInfo
SaveDataToCustomVariable
- Enable:bool
- CustomVariableListCustomVariable(#customvariable)
SplitPattern
- SplitPattern:ch
- IndexForUse:int
RemovePattern
- RemovePattern:ch
CustomVariable
- LookUpString:str
- SplitPatternListSplitPattern(#splitpattern)
- RemovePatternListRemovePattern(#removepattern)
- CustomVariablename:str
- CustomVariableType:CustomVariableType
- CustomVariableOperator:str
TargetControl
- TargetEthernetControl:TargetEthernetControl
- TargetFirmwareUpdateControl:TargetFirmwareUpdateControl
- TargetCustomControl:TargetCustomControl
TargetEthernetControl
- ResetEthernetTarget:ResetEthernetTarget
- SetTargetIp:SetTargetIp
- SetTargetMac:SetTargetMac
- RunTcpClientTest:RunTcpClientTest
- RunLoopbackServerTest:RunLoopbackServerTest
ResetEthernetTarget
- Enable:bool
- timeoutMs:int
SetTargetIp
- Enable:bool
- IpPrefix:str
- IpType:IpType
- SaveDataToCustomVariable:SaveDataToCustomVariable
- UseChannelBoard:bool
SetTargetMac
- Enable:bool
- MacPrefix:str
- MacType:MacType
- SaveDataToCustomVariable:SaveDataToCustomVariable
- UseChannelBoard:bool
ConnectTcp
- Enable:bool
CloseTcp
- Enable:bool
SendTcpData
- Enable:bool
- EthernetUseDummyData:EthernetUseDummyData
- EthernetUseUserData:EthernetUseUserData
VerifyWithSentData
- Enable:bool
RecvTcpData
- Enable:bool
- RecvTimeoutMs:int
- VeryfyWithSentData:VerifyWithSentData
- VerifyWithUserData:EthernetUseUserData
EthernetUseDummyData
- Enable:bool
- DummyDataSize:int
EthernetUseUserData
- Enable:bool
- UserData:str
TcpClientDestinationIp
- Value:str
- LoadDataFromCustomVariableListstr
RunTcpClientTest
- Enable:bool
- DestinationIp:TcpClientDestinationIp
- DestinationPortNumber:int
- ConnectTcp:ConnectTcp
- SendTcpData:SendTcpData
- RecvTcpData:RecvTcpData
- CloseTcp:CloseTcp
RunLoopbackServerTest
- Enable:bool
- PortNum:int
- DummyDataSize:int
- TimeoutMs:int
- DelayMsAfterNetworkInit:int
- SaveDataToCustomVariable:SaveDataToCustomVariable
TargetFirmwareUpdateControl
- Enable:bool
- Xmodem:XmodemProtocol
- Swd:SwdProtocol
- Stm32BootProtocol:Stm32BootProtocol
- W7500BootProtocol:W7500BootProtocol
XmodemProtocol
- Enable:bool
- TargetuartName:str
- TargetUartBaudrate:int
- TargetFirmwareNumber:int
- TimeoutMs:int
SwdProtocol
- Enable:bool
- StartFlashAddress:int
- TargetFirmwareNumber:int
- TimeoutMs:int
Stm32BootProtocol
- Enable:bool
- BootGpioName:str
- TargetUartName:str
- TargetUartBaudrate:int
- EnableFlashReadProtect:int
- EnableFlashWriteProtect:int
- TargetReset:TargetReset
- FirmwareInfoListFirmwareInfo(#firmwareinfo)
W7500BootProtocol
- Enable:bool
- BootGpioName:str
- TargetUartname:str
- TargetUartBaudrate:int
- EnableFlashReadProtect:int
- EnableFlashWriteProtect:int
- TargetReset:TargetReset
- FirmwareInfoListFirmwareInfo(#firmwareinfo)
FirmwareInfo
- StartFlashAddress:int
- TargetFirmwareNumber:int
TargetReset
- Enable:bool
- GpioName
- ActiveMethod
- KeepingTimeMs:int
CheckStringBeforeCommand
- Enable:bool
- Data:str
- TimeoutMs:int
InputMacAddress
- Enable:bool
- Command:str
- LoadDataFromCustomVariableListstr
- CheckStringBeforeCommand:CheckStringBeforeCommand
TargetFirmwareUpdateControl
- Enable:bool
- Xmodem:XmodemProtocol
- Swd:SwdProtocol
- StmreBootProtocol:Stm32BootProtocol
- W7500BootProtocol:W7500BootProtocol
WiznetWIZ107SRConfigTool
- Enable:bool
- MacAddress
- Command
- LoadDataFromCustomVariableListstr
- TimeoutMsCommand:int
WiznetWIZ750SRConfigTool
- Enable:bool
- MacAddress
- Command
- LoadDataFromCustomVariableListstr
- TimeoutMsCommand:int
WiznetWIZ750SRSearch
- Enable:bool
- MacAddress
- LoadDataFromCustomVariableListstr
- TimeoutMsSearchCommand:int
WiznetWIZ750SRFactoryReset
- Enable:bool
- MacAddress
- LoadDataFromCustomVariableListstr
- TimeoutMsSearchCommand:int
WiznetWIZ550SRFactoryReset
- Enable:bool
- MacAddress
- LoadDataFromCustomVariableListstr
- TimeoutMsSearchCommand:int
WiznetWIZ1XXSRSearch
- Enable:bool
- MacAddress
- LoadDataFromCustomVariableListstr
- TimeoutMsSearchCommand:int
- CheckDefaultValues:bool
- DefaultIpAddress:str
- DefaultGwAddress:str
WiznetWIZ1XXSRSetting
- Enable:bool
- MacAddress
- LoadDataFromCustomVariableListstr
- TimeoutMsSearchCommand:int
- IpAddress:str
- GwAddress:str
TargetCustomControl
- WiznetWIZ107SRConfigTool:WiznetWIZ107SRConfigTool
- WiznetWIZ750SRConfigTool:WiznetWIZ750SRConfigTool
- WiznetWIZ550SRFactoryReset:WiznetWIZ550SRFactoryReset
- WiznetWIZ1XXSRSearch:WiznetWIZ1XXSRSearch
- WiznetWIZ1XXSRSetting:WiznetWIZ1XXSRSetting
LockControl
- LockOrWaitForRelease:LockOrWaitForRelease
- LockRelease:LockRelease
LockOrWaitForRelease
- Enable:bool
- TimeoutMs:int
LockRelease
- Enable:bool
NextTest
- NextTestname:str
- LogicalOperator:LogicalOperator
- CompareRxData:CompareRxData
- IncludedStringInRxData:IncludedStringInRxData
- IncludedCustomVariableInRxData:IncludedCustomVariableInRxData
CompareRxData
- Enable:bool
- ConditionString:str
- CustomVariableForConditionStringListstr
IncludedStringInRxData
- Enable:bool
- ValueListstr
- LogicalOperator:LogicalOperator
IncludedCustomVariableInRxData
- Enable:bool
- CustomVariablenameListstr
- LogicalOperator:LogicalOperator
- RemoveSeperate:str
- ChangeUpperCase:bool